using System;
using System.Collections.Generic;

namespace CMS.Core.Domain
{
    /// <summary>
    /// FileDinhKem object for NHibernate mapped table FileDinhKem.
    /// </summary>
    [Serializable]
    public class FileDinhKem : DomainObject<System.String>
    {
        private System.String _TenFileDinhKem;
        private DonThu _DonThu;

        public FileDinhKem()
        {
            base.id = Guid.NewGuid().ToString().ToUpper();
        }

        public FileDinhKem(System.String id)
        {
            base.ID = id;
        }

         public virtual System.String TenFileDinhKem {
             get { return _TenFileDinhKem; }
             set { _TenFileDinhKem = value;}
         }

        public virtual DonThu DonThu
        {
             get { return _DonThu; }
             set { _DonThu = value; }
         }


        public override int GetHashCode()
        {
            return ID.GetHashCode();
        }

     }
}
